package com.chen.spring.cloud.miniapp.api.feign.service;

import com.chen.spring.cloud.miniapp.api.feign.hystrix.OrderServiceHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "spring-cloud-service-order",fallback = OrderServiceHystrix.class)
public interface OrderService {

    @RequestMapping(value = "/Order/getListByLimit")
    String getListByLimit(@RequestParam(value = "uId") Integer uId,
                          @RequestParam(value = "is_appointment") String is_appointment,
                          @RequestParam(value = "limit") String limit,
                          @RequestParam(value = "is_refund") String is_refund,
                          @RequestParam(value = "status") String status);
}
